/*** Eclipse Class Decompiler plugin, copyright (c) 2012 Chao Chen (cnfree2000@hotmail.com) ***/
package com.qihoo.psdk.app;

import android.content.Context;
import android.content.DialogInterface;
import android.content.DialogInterface.OnClickListener;
import com.qihoo.psdk.local.a;
import com.qihoo.psdk.util.h;

class i implements DialogInterface.OnClickListener {
    public void onClick(DialogInterface paramDialogInterface, int paramInt) {
        if (paramInt == -1) {
            h.a("QStatActivity", "Cancel...");
            try {
                paramDialogInterface.dismiss();
                this.a.finish();
            } catch (Exception localException1) {
                h.a("QStatActivity", localException1);
            } catch (Error localError1) {
                h.a("QStatActivity", localError1);
            }
        }
        else {
            if (paramInt != -2)
                return;
            h.a("QStatActivity", "Going...");
            try {
                d locald = new d(this.b, this.c, this.d, this.e, this.f, this.g);
                locald.a();
                paramDialogInterface.dismiss();
                this.a.finish();
            } catch (Exception localException2) {
                h.a("QStatActivity", localException2);
            } catch (Error localError2) {
                h.a("QStatActivity", localError2);
            }
        }
    }
}